<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
         function Person(name,age){
            this.name = name;
            this.age = age;
        }
        let p1 = new Person("张三",18);
        // console.log(p1.__proto__ === Person.prototype);
        // - ==所有内置函数都是 `Function` 这个函数实例对象=
        // console.log(Person.__proto__ === Function.prototype)
        
        // console.log(Date.__proto__ === Function.prototype);
        // console.log(RegExp.__proto__ === Function.prototype);
        // console.log(Date.__proto__ === Function.prototype);
        // console.log(RegExp.__proto__);
        // console.log(Person.prototype.__proto__ === Object.prototype);
        // console.log(Function.__proto__ === Function.prototype);
        // console.log(Function.prototype.__proto__);
        console.log(Object.__proto__ === Function.prototype);
    </script>
</body>
</html>